//
//  MaintenanceTypeViewController.h
//  FMS
//
//  Created by Steven on 10/16/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MaintenanceTypeViewController : UIViewController <UITableViewDataSource,UITableViewDelegate>{
    NSDictionary *dictLanguage;
    int serviceType;
    NSMutableArray *mainArray;
    NSMutableArray *arrayOriginal;
}

@property (unsafe_unretained) id parent;
@property (assign, readwrite) int itemType;
@property (strong,nonatomic) IBOutlet UITableView *mainTableView;
@property (strong, nonatomic) IBOutlet UILabel *lbMainTitle;
@property (strong, nonatomic) IBOutlet UIButton *btnBack;
@property (strong, nonatomic) NSMutableDictionary *itemDetailedDict;
@property (strong, nonatomic) NSMutableDictionary *inputInspectionDict;
@property (strong, nonatomic) NSString *theNewInspectionId;
@property (strong, nonatomic) NSString *theNewScheduleId;
@property (strong, nonatomic) NSMutableDictionary *beforeInspectionSavedDict,*beforeScheduleSavedDict;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil serviceType:(int)_serviceType parent:(id)_parent;
- (IBAction)backPreviousView:(id)sender;

@end
